<?php
session_start();
if(!session_is_registered(myusername)){
header("location:main_login.php");
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
  <title>Supermarket</title>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <link rel="stylesheet" href="style.css" type="text/css" />
</head>

<body>

<div id="container" class="clearfix">

    <h1>HEMART B10<em> CABANG<?php echo " $_SESSION[namacabang]";?></em></h1>
	<h2></h2>

 <div id="content">

            <h3>Pembuat Website</h3>

			<h4>Anindita Sekarini (0906629050)</h4><br/>
			<h4>Haya Rizqi (0906563716)</h4><br/>
			<h4>Leliani Kusuma Dewi (0906493073)</h4><br/>
			<h4>Siti Ulfah Lukman (0906563962)</h4><br/>

    </div>

        <ul id="nav">
            <li><a href="login_success.php">Home</a></li>
			<?php
				if ($_SESSION['jabatan'] == 'Admin')
				echo "<li><a href='form_akun.php'>Buat akun</a></li>";
			?>
            <li><a href="q1.php">List Daftar Cabang</a></li>
			<?php
				if ($_SESSION['jabatan'] == 'Manajer Operasional')
				echo "<li><a href='pencatatan1.php'>Pencatatan Transaksi Pembelian</a></li>";
			?>
            <li><a href="daftar_transaksi1.php">Daftar Transaksi Pemasok</a></li>
			<li><a href="rekapitulasi1.php">Rekapitulasi Transaksi Pembelian</a></li>
			<li><a href="produk_terlaku.php" >Daftar Produk Terlaku</a></li>
            <li><a href="B10.php" title="View B10 info">About us</a></li>
            <li><a href="logout.php">Logout</a></li>
        </ul>

</div>

        <address>
        &copy; 2008 All Rights Reserved. Designed by <a href="http://www.caddoo.net" title="Portfolio of Matthew Caddoo">Matthew Caddoo</a> for <a href="http://www.zymic.com" title="Zymic Free Templates">Zymic</a> <a href="http://www.zymic.com/free-templates">Free Templates</a>. <a href="http://www.zymic.com/free-web-hosting/">Free Web Hosting</a>.
        </address>

</body>
</html>
